export default class Environments {
    static getEvnProp(key: string): string {
        const prop = process.env[key]
        if (process.env['REACT_APP_SHOW_CONSOLE' as string] === 'true') {
            /* eslint no-console: "off" */
            console.log(`环境变量:${key}:${prop}`);
        }
        return prop as string;
    }
}
